﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserView.master" AutoEventWireup="true"
    CodeBehind="CopyProduct.aspx.cs" Inherits="BestBuy.PageUser.CopyProduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/Seller.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/Manager.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 271px;
        }
        .Category
        {
            width: auto;
            float: left;
            color: #99370B;
            font-weight: bold;
            background: none repeat scroll 0% 0% #FFFFD8;
            border: 1px solid rgb(236, 212, 138);
            padding: 3px 7px;
            width: auto;
            font-size: 11px;
        }
    </style>
        <asp:Panel ID="Panel3" runat="server" CssClass="left-side-bar bs-docs-sidebar">
            <ul class="nav nav-list bs-docs-sidenav">
                <li class="active" style="text-align: center;"><a href="#">My Product</a></li>
                <li><a id="A5" runat="server" href="AddNewProduct.aspx"><i class="icon-chevron-right">
                </i>Add New Product</a></li>
                <li><a id="A6" runat="server" href="MbSellling.aspx"><i class="icon-chevron-right"></i>
                    Manage Products</a></li>
            </ul>
            <br />
            <ul class="nav nav-list bs-docs-sidenav">
                <li class="active" style="text-align: center;"><a href="#">My Sell Offers</a></li>
                <li><a id="A8" runat="server" href="AddNewSellOffer.aspx"><i class="icon-chevron-right">
                </i>Add New Sell Offer</a></li>
                <li><a id="A9" runat="server" href="#"><i class="icon-chevron-right"></i>Manage Sell
                    Offers</a></li>
            </ul>
        </asp:Panel>
    <div class="main-content">
        <asp:ScriptManager ID="ScriptManage1" runat="server">
        </asp:ScriptManager>
        <a style="cursor: pointer" href="MbSellling.aspx">Back</a>
        <%--        <asp:Panel ID="ProductDetailPanel" runat="server">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                <ContentTemplate>--%>
        <table class="table table-bordered" width="100%">
            <tr>
                <td width="30%">
                    <asp:Literal ID="litCategory" runat="server" Text="Category"></asp:Literal>
                </td>
                <td>
                    <asp:HiddenField ID="HiddenCategory" runat="server" />
                    <asp:Label ID="lbDanhMuc" runat="server" CssClass="Category"></asp:Label>
                    <a id="lnkPopup" runat="server" style="display: none"></a>
                    <asp:LinkButton ID="lbtnChangeCategory" runat="server" Text="Change Category" OnClick="lbtnChangeCategory_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Product Detail
                </td>
                <td>
                    <asp:TextBox ID="txtProductDetail" runat="server" TextMode="MultiLine" Width="80%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Product Name
                </td>
                <td>
                    <asp:TextBox ID="txtProductName" runat="server" Width="80%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProductName"
                        ErrorMessage="Please enter detail" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Model/Article No:
                </td>
                <td>
                    <asp:TextBox ID="txtModel" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Key Words
                </td>
                <td>
                    <asp:TextBox ID="txtKeyword" runat="server" Width="80%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please enter key words"
                        ForeColor="Red" ControlToValidate="txtKeyword">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal3" runat="server" Text="Description"></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Width="80%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please enter descript"
                        ForeColor="Red" ControlToValidate="txtDescription">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>
                        Product Photo & Brochure</h4>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Attach a Product Photo
                </td>
                <td>
                    <asp:FileUpload ID="uploadPhoto" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Product Brochoures
                </td>
                <td>
                    <asp:FileUpload ID="upLoadBrochoure" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    <h4>
                        Packaging &amp; Shipment Details</h4>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span>Delivery Time</span>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="StartTimeTextBox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span>Supplying Ability</span>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="EndTimeTextBox"></asp:TextBox>
                    &nbsp;&nbsp;<asp:DropDownList ID="cbDonvi1" runat="server">
                    </asp:DropDownList>
                    &nbsp;&nbsp;
                    <asp:Literal ID="Literal1" runat="server" Text="Per"></asp:Literal>
                    &nbsp;&nbsp;<asp:DropDownList ID="cbDay" runat="server" Width="70px">
                        <asp:ListItem>Day</asp:ListItem>
                        <asp:ListItem>Week</asp:ListItem>
                        <asp:ListItem>Month</asp:ListItem>
                        <asp:ListItem>Year</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Place of Origin:
                </td>
                <td>
                    <asp:TextBox ID="txtPlaceOfOrigin" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>
                        Minimum Order & Payment</h4>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Minimum Order Quantity
                </td>
                <td>
                    <asp:TextBox ID="txtMinimumOrder" runat="server"></asp:TextBox>&nbsp;&nbsp;
                    <asp:DropDownList ID="cbDonVi2" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Payment Type:
                </td>
                <td>
                    <table>
                        <tr>
                            <td>
                                <asp:CheckBox ID="CheckBox1" runat="server" Text="T/T" TextAlign="Left" />
                            </td>
                            <td>
                                <asp:CheckBox ID="CheckBox2" runat="server" Text="L/C" TextAlign="Left" />
                                &nbsp;&nbsp;
                            </td>
                            <td>
                                <asp:CheckBox ID="CheckBox3" runat="server" Text="Western Union" TextAlign="Left" />
                                &nbsp;&nbsp;
                            </td>
                            <td>
                                <asp:CheckBox ID="CheckBox4" runat="server" Text="Paypal" TextAlign="Left" />
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <div style="text-align: right; width: 40%" class="DisplayInLine">
            <asp:Button ID="btnAdd" CssClass="btn" runat="server" Text="Add new product" OnClick="btnAdd_Click" />
        </div>
        <asp:Panel ID="pnThongBao" runat="server" CssClass="DisplayInLine">
            <asp:Label ID="lbThongBao" runat="server" Visible="false"></asp:Label>
        </asp:Panel>
        <asp:Panel ID="panEdit" runat="server" CssClass="ModalWindow">
            <h1 class="PopUp_h1">
                Select Category
                <asp:Label ID="lbThongBaoAddCategory" runat="server" Visible="false"></asp:Label>
            </h1>
            <div>
                <asp:Label ID="lbThongBaoError" runat="server" Text="The select is not child!!! "
                    Visible="false"></asp:Label>
            </div>
            <div class="select-category">
                <asp:ListBox ID="List1" runat="server" Height="340px" Width="100%" AutoPostBack="true"
                    OnSelectedIndexChanged="List1_SelectedIndexChanged"></asp:ListBox>
            </div>
            <div class="select-category">
                <asp:ListBox ID="List2" runat="server" Height="340px" Width="100%" AutoPostBack="true"
                    OnSelectedIndexChanged="List2_SelectedIndexChanged"></asp:ListBox>
            </div>
            <div class="select-category">
                <asp:ListBox ID="List3" runat="server" Height="340px" Width="100%" AutoPostBack="true"
                    OnSelectedIndexChanged="List3_SelectedIndexChanged"></asp:ListBox>
            </div>
            <br />
            <div style="width: 100%; text-align: center;">
                <asp:Button ID="btnAddCategory" runat="server" Text="Add Category" OnClick="btnAddCategory_OnClick" />
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_OnClick" />
            </div>
        </asp:Panel>
        <ajaxToolkit:ModalPopupExtender ID="mpeDanhMuc" runat="server" TargetControlID="lnkPopup"
            PopupControlID="panEdit" BackgroundCssClass="modalBackground">
        </ajaxToolkit:ModalPopupExtender>
        <%--            </ContentTemplate>
            </asp:UpdatePanel>
        </asp:Panel>    --%>
    </div>
</asp:Content>
